 <%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false" %>.
<!DOCTYPE html>
<html>
   <head>
      <title>秒杀详情页</title>
      	<%@include file = "common/head.jsp" %>
      	<%@include file = "common/tag.jsp" %>
      
	 
	<!-- jQueryæä»¶ãå¡å¿å¨bootstrap.min.js ä¹åå¼å¥ -->
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	 
	<!-- ææ°ç Bootstrap æ ¸å¿ JavaScript æä»¶ -->
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
   	<%--jQuery countDown倒计时插件--%>
	<script src="http://cdn.bootcss.com/jquery.countdown/2.1.0/jquery.countdown.min.js"></script>
   	<%--jQuery Cookie操作插件--%>
	<script src="http://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
   	
   	
   </head>
   <body>
 		<div class="container"> 
 			<div class="panel panel-default text-center">
 				<div class="pannel-heading">
	 				<h1>${seckill.name }</h1>
	 			</div>
 			
 			
	 			<div class="panel-body">
				 	<h2 class="text-danger">
		                <%--显示time图标--%>
		                <span class="glyphicon glyphicon-time"></span>
		                <%--展示倒计时--%>
		                <span class="glyphicon" id="seckill-box"></span>
	         		</h2>
	 			</div>
 			</div>
 			<!--登录弹出层，输入电话  -->
 			<div id="killPhoneModal" class="modal fade"> 
 				<div class="modal-dialog">
 					<div class="modal-content">
 						<h3 class="modal-title text-center">
 							<span class="glyphicon glyphicon-phone"></span>秒杀电话:
 						</h3>
 					</div>
 					<div class="modal-body">
 						<div class="row">
 							<div class="col-xs-8 col-xs-offset-2">
 								<input type="text" name="killPhone" id="killPhonekey" 
 								placeholder="填手机号" class="form-control"/>
 							</div>
 						</div>
 					</div>
 					
 					<div class="modal-footer">
 						<span id="killPhoneMessage" class="glyphicon"></span>
 						<button type="button" id="killPhoneBtn" class="btn btn-success">
 							<span class="glyphicon glyphicon-phone"></span>
 							submit
 						</button>
 					</div>
 				</div>
 			</div>
 		</div>
   </body>
   <script type="text/javascript" src="${pageContext.request.contextPath}/resources/script/seckill.js"></script>
   <script type="text/javascript">
   		$(function(){
   			seckill.detail.init({
   				seckillId : ${seckill.seckillId},
   				startTime : ${seckill.startTime.time},
   				endTime : ${seckill.endTime.time}
   			});
   		});
   	</script>
</html>